﻿import request from '@/utils/request';
// list
export const jibieList = (params) => {
    return request({
        url: '/jibie/page',
        method: 'post',
        data: params,
    })
};
export const jibieDetail = (id) => {
    return request({
        url: '/jibie/'+id,
        method: 'get',
    })
};
// add
export const jibieSave = (params) => {
    return request({
        url: '/jibie',
        method: 'post',
        data: params,
    })
};
// updt
export const jibieEdit = (params) => {
    return request({
        url: '/jibie',
        method: 'put',
        data: params,
    })
};
// delete
export const jibieDelete = (id) => {
    return request({
        url: '/jibie/'+id,
        method: 'delete',
    })
};
// pldel
export const jibieDeleteList = (jibies) => {
    return request({
        url: '/jibie/deleteList',
        data:{list:jibies},
        method: 'post',
    })
};
// all
export const jibieAllList = () => {
    return request({
        url: '/jibie',
        method: 'get',
    })
};

